.layout {
    overflow: hidden;
    height: 100%;
    display: flex;
    .layout-left {
        flex: 1;
        height: 100%;
        overflow: hidden;
    }

}

.first-sider {
    width: 75px;
    background-color: #F0F3FA;
    z-index: 1003;
    position: relative;
    .licence_dropdown_menu {
        color: #2B2B2B;
    }
    .first-menu {
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .first-menu-expend {
            position: absolute;
            right: -5px;
            width: 10px;
            height: 50px;
            border-radius: 20px;
            top: 50%;
            line-height: 20px;
            display: none;
            z-index: 2;
            background: var(--tiklab-gray-400);
            .first-menu-expend-icon {
                width: 10px;
                height: 50px;
            }

        }
    }

    .first-menu:hover {
        .first-menu-expend {
            display: block;
        }
    }

    .first-menu-link {


        &-item {
            display: flex;
            align-items: center;
            flex-direction: column;
            margin-bottom: 5px;
            padding: 5px 0;
            width: 75px;
            cursor: pointer;
            border-left: 3px solid transparent;
        }
        &-active {
            color: var(--tiklab-blue);
            background-color: var(--tiklab-gray-400);
            border-left: 3px solid var(--tiklab-blue);
        }
        &-item:hover {
            background-color: var(--tiklab-gray-400);
        }

        .svg-icon {
            width: 18px;
            height: 18px;
        }
    }

    .first-menu-text-item {
        height: 40px;
        display: flex;
        line-height: 40px;
        width: 100%;
        align-items: center;
        padding-left: 20px;
        cursor: pointer;
        gap: 7px;
        border-left: 3px solid transparent;
    }
}

.first-sider-blue {
    background-color: #2f5eb1 !important;
    color: #fff !important;
    .first-menu-link-item:hover {
        background-color: #557AC0;
    }
    .first-menu-link-active {
        color: #fff;
        background-color: #557AC0;
        border-left: 3px solid #ffffff !important;
    }
    .user-icon {
        background-color: #8e9bed;
        color: #ffffff;
    }
    .first-menu-text-item:hover {
        background-color: #557AC0;
    }
}

.first-sider-gray {
    background-color: #F0F3FA !important;
    .first-menu-link {
        &-active {
            color: var(--tiklab-blue);
            background-color: var(--tiklab-gray-400);
            border-left: 3px solid var(--tiklab-blue) !important;
        }

        &-item:hover {
            background-color: var(--tiklab-gray-400);
        }
    }
    .first-menu-text-item:hover {
        background-color: var(--tiklab-gray-400);
    }
    .user-icon {
        background-color: var(--tiklab-blue);
        color: #ffffff;
    }
}

.first-sider-black {
    background-color: #131d30 !important;
    color: #fff !important;
    .first-menu-link-item:hover {
        background-color: #414A5A;
    }
    .first-menu-link-active {
        color: #fff;
        background-color: #414A5A;
        border-left: 3px solid #fff !important;
    }
    .first-menu-text-item:hover {
        background-color: #414A5A;
    }
    .user-icon {
        background-color: var(--tiklab-blue);
        color: #ffffff;
    }
}

.menu-box-right-border{
    width: 15px;
    position: absolute;
    top: 0;
    right: -5px;
    height: 100%;

    .menu-box-isexpanded{
        color: #5e5e5e;
        position: absolute;
        top: 80%;
        right: -3px;
        transform: translateY(-50%);
        background: var(--tiklab-gray-400);
        border-radius: 5px;
        padding: 10px 0;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s, right 0.3s;
        z-index: 100;
    }
    .first-menu-expend-icon {
        width: 10px;
        height: 50px;
    }
    &:hover .menu-box-isexpanded {
        right: -3px;
        opacity: 1;
        visibility: visible;
    }
}

.first-menu-bottom-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;

    .first-menu-link-item {
        padding: 8px;
        margin-bottom: 0;

        .user-icon {
            width: 24px;
            height: 24px;
            border-radius: 24px;
        }
    }
}

.first-menu-bottom-text {
    .user-icon {
        width: 24px;
        height: 24px;
        border-radius: 24px;
    }
    .first-menu-bottom-item {
        height: 40px;
        display: flex;
        line-height: 40px;
        width: 100%;
        align-items: center;
        padding: 0 20px;
        cursor: pointer;
    }
}
